Removed parenthesis and passed a nullptr for the disambiguation
authorPablo Ariño Muñoz <progpabarino@gmail.com>
Sun, 23 Feb 2025 07:26:31 +0000 (08:26 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 24 Feb 2025 07:30:31 +0000 (07:30 +0000)
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
src/gui/tray/usermodel.cpp

index 1f0020184bd0af9ca408ca41a30a69d8c2534c1b..e67549d1b2a1686b4da5ee15d8810ac832aefe5a 100644 (file)
@@ -174,7 +174,7 @@ void User::showDesktopNotification(const Activity &activity)
 
 void User::showDesktopNotification(const ActivityList &activityList)
 {
-    const auto subject = tr("%n notification(s)", "", activityList.count());
+    const auto subject = tr("%n notifications", nullptr, activityList.count());
     const auto notificationId = -static_cast<int>(qHash(subject));
 
     if (!canShowNotification(notificationId)) {